package com.ncloud.crm.service;

import com.alibaba.fastjson.JSONObject;
import com.ncloud.crm.entity.MsgBox;

import java.util.List;

/**
 * Created by shiqiang on 2017/7/7.
 */
public interface MsgBoxServer {
    void insertMsg(MsgBox msgBox);
    void insertMsgUser(MsgBox msgBox);
    List<MsgBox> getUserMsg(Long userId);
    void insertMsgAndUserInfo(JSONObject msg,List<Long> users);
}
